﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Foothill.Model
{
    public abstract class SubmitResult
    {
        public string Message { set; get; }
    }

    public class FailedValidation : SubmitResult
    {
        public List<string> FailedProperties { set; get; }
    }

    public class DbError : SubmitResult
    {
    }

    public class Succeed : SubmitResult
    {
    }

}
